var app2=new Vue({
	el:"#app",
	data:{
		ilist:SelectIssueAndCompanyByName()
	},
	methods:{
		getHerf(name){
			return "list.html?name="+name
		},
		jumpURL(url) {
			return href = url
		},
		jump(id){
			return "jobdetail.html?id="+id
		}
	}
})
function SelectIssueAndCompanyByName(){
	var ilist
	var name = location.href.split('?')[1].split('=')[1]
	
	$.ajax({
		url:"http://101.37.77.75:8080/lagouwang/lssueServlet?type=SelectIssueAndCompanyByName",
		dataType:"json",
		async:false,
		data:{
			"name":name
		},
		success:function(data){
			ilist=data.data
		}
	})
	return ilist
}

var app1 = new Vue({
	el: "#app1",
	data: {
		tlist1: getTypeAll1()
	},
	methods: {
		getHerf(name){
			return "list.html?name="+name
		}
	}
})

function getTypeAll1() {
	var tlist1
	$.ajax({
		url: "http://101.37.77.75:8080/lagouwang/TypeServlet?type=getTypeAll",
		dataType: "json",
		async: false,
		success: function(data) {
			tlist1 = data.data
		}
	})
	return tlist1
}